package com.diyizu.youdianda.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.diyizu.youdianda.dto.YddArticleDto;
import com.diyizu.youdianda.entity.YddArticle;

import javax.servlet.http.HttpServletRequest;
import java.util.ArrayList;
import java.util.HashMap;

public interface YddArticleService extends IService<YddArticle> {
    //我的文章
    YddArticleDto myArticle(Integer page, Integer limit);
    void addData(HttpServletRequest httpServletRequest, Integer type,Integer article_id);
    void delData(HttpServletRequest httpServletRequest, Integer type, Integer article_id);
    //文章列表数据
    HashMap allArticle(int page, int limit, int cateid);

}
